package cn.zt;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan(basePackages ="cn.zt.dao")//扫描mapper包
@ComponentScan(basePackages ={"cn.zt"} )
public class SpringBootAppliction {
    public static void main(String[] args) {

        SpringApplication.run(SpringBootAppliction.class,args);
    }
}
